package com.boot.study.config;

import com.boot.study.service.LogRecordServiceImpl;
import com.mzt.logapi.service.ILogRecordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;

/**
 * @Author likz
 * @Date 2025/1/23 9:21
 * @Description
 **/
@AutoConfiguration
@Slf4j
public class OperateLogConfiguration {

    @Bean
    @Primary
    public ILogRecordService iLogRecordServiceImpl() {
        return new LogRecordServiceImpl();
    }

}
